# --------------------------------------------------------------
# GNUmakefile for IcaG4.  Jacek M. Holeczek Fri May 10 2002.
# --------------------------------------------------------------

ifndef G4INSTALL
  G4INSTALL = ../../..
endif

include $(G4INSTALL)/config/architecture.gmk

name := KDM3
G4TARGET := $(name)
G4EXLIB := true

.PHONY: all
all: lib bin

include $(G4INSTALL)/config/binmake.gmk

########################### ROOT #################################

ifdef ROOTSYS
ifndef G4UI_USE_ROOT
  ROOTCPPFLAGS   = $(shell $(ROOTSYS)/bin/root-config --cflags)
  CPPFLAGS      += -DG4ANALYSIS_USE_ROOT $(ROOTCPPFLAGS)
  ROOTLIBS       = $(shell $(ROOTSYS)/bin/root-config --libs)
  LDLIBS        += $(ROOTLIBS)
endif
endif

# end of file GNUmakefile by Jacek M. Holeczek
